﻿CREATE TABLE [dbo].[core_site] (
    [Id]               UNIQUEIDENTIFIER NOT NULL,
    [Name]             NVARCHAR (MAX)   NULL,
    [ShortName]        NVARCHAR (MAX)   NULL,
    [ImageId]          UNIQUEIDENTIFIER NULL,
    [IsActive]         BIT              NOT NULL,
    [SortIndex]        INT              NOT NULL,
    [TemplateId]       UNIQUEIDENTIFIER NOT NULL,
    [Type]             NVARCHAR (MAX)   NULL,
    [Copyright]        NVARCHAR (MAX)   NULL,
    [IsAllowAnonymous] BIT              NOT NULL,
    [AnonymousUserId]  UNIQUEIDENTIFIER NULL,
    [DefaultPageId]    UNIQUEIDENTIFIER NULL,
    [AdminUserId]      UNIQUEIDENTIFIER NULL,
    CONSTRAINT [PK_dbo.core_site] PRIMARY KEY NONCLUSTERED ([Id] ASC)
);

